package constants;

public class GatewayConst {
	public static final String UNIQUE_ID = "uniqueId";

	public static final String DEFAULT_VERSION = "1.0.0";

	public static final String PROTOCOL_KEY = "protocol";

	public static final int DEFAULT_WEIGHT = 100;

	public static final String META_DATA_KEY = "meta";

	public static final String BUFFER_TYPE_PARALLEL = "parallel";


	public static final String FLOW_CTL_FILTER_ID = "flow_ctl_filter";
	public static final String FLOW_CTL_FILTER_NAME = "flow_ctl_filter";
	public static final int FLOW_CTL_FILTER_ORDER = 50;
	public static final String FLOW_CTL_TYPE_PATH = "path";
	public static final String FLOW_CTL_TYPE_SERVICE = "service";

	public static final String FLOW_CTL_LIMIT_DURATION = "duration"; //以秒为单位
	public static final String FLOW_CTL_LIMIT_PERMITS = "permits"; //允许请求的次数

}
